import Vue from 'vue'
import Vuex from 'vuex'
import actions from './actions'
import getters from './getters'
import mutations from './mutations'

Vue.use(Vuex)

const state = {
    vinData: [],
    vciData:[],
    fileList:[],
    fileManagement:[],
    platformAccess:[],
    platformList:[],
    userInfo:[],
    login:true,
    isIn:'isFalse',
    active1:'vinManage',
    token:localStorage.getItem('token')||'',
    dynameicTags:[],
    pageTpm:{
        pageIndex:1,
        pageSize:10,
        vds:''
    },
    opition:{},
    
}
// 创建 store 实例
export default new Vuex.Store({
    actions,
    getters,
    state,
    mutations
})